package com.muyu.danmo.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 拾贝点赞对象 danmo_collect_praise
 *
 * @author yangle
 * @date 2024-10-30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoCollectPraise extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 拾贝点赞id */
    private Long id;

    /** 拾贝id */
    @Excel(name = "拾贝id")
    private Long shellfishId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

//    public void setId(Long id)
//    {
//        this.id = id;
//    }
//
//    public Long getId()
//    {
//        return id;
//    }
//    public void setShellfishId(Long shellfishId)
//    {
//        this.shellfishId = shellfishId;
//    }
//
//    public Long getShellfishId()
//    {
//        return shellfishId;
//    }
//    public void setUserId(Long userId)
//    {
//        this.userId = userId;
//    }
//
//    public Long getUserId()
//    {
//        return userId;
//    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shellfishId", getShellfishId())
            .append("userId", getUserId())
            .toString();
    }
}
